![]() |
PATH![]() |
![]() ![]() |
pascal OSStatus DrawThemeTrack (
const ThemeTrackDrawInfo *drawInfo,
RgnHandle rgnGhost,
ThemeEraseUPP eraseProc,
UInt32 eraseData);
Your application may use the DrawThemeTrack function to draw a theme-compliant slider, progress bar, or scroll bar. If you use DrawThemeTrack to draw a scroll bar, use the function DrawThemeScrollBarArrows to draw the scroll bar's arrows; see Listing 3-7 in Drawing Tracks for an example of using these two functions together to draw a complete scroll bar. If you use DrawThemeTrack to draw a slider, use DrawThemeTrackTickMarks to draw any tick marks for the slider.